Ext.ux.mattgoldspink.subsonic.NewVersionWindow = Ext.extend(Ext.Window, {
    constructor: function(config) {
        Ext.apply(config, {
            width: 600,
            height: 400,
            closeAction: 'close',
            plain: true,
            modal: true,
            cls: 'about-window',
            title: 'subTunes ' + Ext.ux.mattgoldspink.subsonic.subTunesVersion,
            items: [
                {
                    html: '<p>subTunes is written by <a target="_blank" href="http://www.mattgoldspink.co.uk">Matt Goldspink</a></p><p>It includes contributions from: <ul><li>Josh Knutson (Chrome app)</li></ul><h3>Licence</h3><p>subTunes is licenced under the <a target="_blank" href="http://www.gnu.org/licenses/gpl-3.0.html">GNU GPL licence v3</a>.</p><p>It incorporates the following JS libraries:<ul><li><a target="_blank" href="http://sencha.com/products/js">Ext.js</a> (<em><a target="_blank" href="http://www.gnu.org/licenses/gpl-3.0.html">GNU GPL licence v3</a></em>)</li><li><a target="_blank" href="http://sencha.com/products/touch">Sencha touch</a> (<em><a target="_blank" href="http://www.gnu.org/licenses/gpl-3.0.html">GNU GPL licence v3</a></em>)</li><li><a target="_blank" href="http://www.jquery.org">jQuery</a> (<em><a target="_blank" href="https://github.com/jquery/jquery/blob/master/GPL-LICENSE.txt">GPL</a></em>)</li><li><a target="_blank" href="http://www.schillmania.com/projects/soundmanager2">SoundManager2</a> (<em><a target="_blank" href="http://www.schillmania.com/projects/soundmanager2/docs/resources/#licensing">BSD License</a></em>)</li><li><a target="_blank" href="http://pollenjs.com">hive</a> (<em><a target="_blank" href="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v2</a></em>)</li><li><a target="_blank" href="http://finnrudolph.de/ImageFlow/Download">ImageFlow</a> (<em><a target="_blank" href="http://finnrudolph.de/ImageFlow/Download">Creative Commons Attribution-Noncommericial 3.0 unported licence</a></em>)</li><li><a target="_blank" href="http://pablotron.org/software/persist-js/">PersistJS</a> (<em><a target="_blank" href="http://hg.pablotron.org/persist-js/file/9d17e268a9e0/COPYING">MIT Licence</a></em>)</li></ul><h3>Special Thanks</h3><ul><li>Sindre Mehus - Developer of the excellent <a target="_blank" href="http://www.subsonic.org">Subsonic</a> music streaming software</li><li>Paul Goldsmith - For excellent advice on web worker strategy in subTunes</li></ul>'
                }
            ],
            buttons: [{
                text: 'Close',
                handler: function() {
                    this.close();
                },
                scope: this
            }]
        });
        Ext.ux.mattgoldspink.subsonic.NewVersionWindow.superclass.constructor.call(this, config);
    }
});
